LC_CMD_ALIGN Home

LC_CMD_ALIGN is a value for Command parameter of the lcWndExeCommand function. It starts interactive tool to align positions of selected entities.
CmdParam parameter can have the following values to activate specific modes:

Prm Mode
0 Start command with previous mode
LC_ALIGN_LEFT Align by left side
LC_ALIGN_RIGHT Align by right side
LC_ALIGN_TOP Align by top side
LC_ALIGN_BOTTOM Align by bottom side
LC_ALIGN_CENTER Align by center
LC_ALIGN_CENX Align vertically by center X
LC_ALIGN_CENY Align horizontally by center Y

When the command is started, before specifying first point, user can change the mode by right click and then select mode from popup menu.


See Also

  Command interface


Code sample:
  // Align selected entities by left side
  lcWndExeCommand( m_hLcWnd, LC_CMD_ALIGN, LC_ALIGN_LEFT );